package com.flitsneak.designpatterns.creationalpatterns.singleton;

/**
 * Author: flitsneak
 * Date: 2022/5/31 14:01
 * Description:枚举单例
 */
public enum EnumSingleton {

    INSTANCE;

    //其他逻辑 如
    public void sayHello() {
        System.out.println("hello");
    }
}
